package com.jiao.springcloud.service;

import com.jiao.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

public interface PaymentService {
    //创建订单
    public int create(Payment payment);
    //通过id查订单
    public Payment getPaymentById(@Param("id") Long id);
}
